package com.billdimmick.merkabah;

import junit.framework.Assert;
import junit.framework.AssertionFailedError;

import org.junit.Before;

public class TestSQSManagerWithObfuscatedQueues extends TestSQSManager {

	@Override
	@Before
	public void setUp() throws Exception {
		super.setUp();
		this.manager.getSecurity().setShouldObfuscateQueueNames(true);
	}
	
	@Override
	public void testListQueues() throws SQSException {
		try {
			super.testListQueues();
			Assert.fail("Expected queue listing unit test did not fail");
		} catch (AssertionFailedError e) {}
	}

	@Override
	public void testListQueuesWithPrefix() throws SQSException {
		try {
			super.testListQueuesWithPrefix();
			Assert.fail("Expected queue listing unit test did not fail");
		} catch (AssertionFailedError e) {}
	}

}
